cmake_minimum_required(VERSION 2.8)
project(epoll_tcp_server)
set(CMAKE_INSTALL_PREFIX /usr/local)
set(CMAKE_MACOSX_RPATH 0)

if (CMAKE_BUILD_TYPE STREQUAL Debug)
message(STATUS "***********************************")
message(STATUS "We are going to build debug version!")
message(STATUS "***********************************")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
endif()

add_subdirectory(server_src epoll_tcp_server)
